package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 药品三双监控
 * @author pf045
 *
 */
@Entity
@Table(name=ConstSysParam.MODULE_DOUBLE_THREE)

public class MedicalDoubleThree extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="doubleThreeGenerator")
	@TableGenerator(name="doubleThreeGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_DOUBLE_THREE,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	
}
